package com.qfmy.app.mapper.community;

import com.qfmy.model.entity.community.BlogComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.qfmy.app.mapper.community
 * @date 2025/4/17
 * @description 博客评论
 */
@Mapper
@SuppressWarnings("all")
public interface BolgCommentMapper {

    /**
     * 添加博客评论
     * @param blogComment
     */
    void insert(BlogComment blogComment);

    /**
     * 获取博客评论
     * @param start
     * @param size
     * @param blogId
     * @return
     */
    List<BlogComment> getBlogComment(int start, Integer size, Integer blogId);
}
